# -*- coding: utf-8 -*-

import logging

from flask import Blueprint
from werkzeug.utils import import_string

from flask_restplus import Api


logger = logging.getLogger(__name__)


api_bp = Blueprint(
    'api_bp_v1',
    __name__,
    url_prefix='/api/v1'
)

api_bp.record_once(lambda state: import_string("{}:{}".format(__name__, 'apis')))


api = Api(
    api_bp,
    version='1.0',
    title='Web API',
)
